﻿<Window x:Class="BlazeNotes.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:custom="clr-namespace:BlazeNotes.UI.Controls" 
        xmlns:ui="clr-namespace:BlazeNotes.Core.Commands.UI"
        Title="MainWindow" Height="350" Width="525">
    <Window.CommandBindings>
    </Window.CommandBindings>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="20px"></RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>

        <StackPanel Orientation="Horizontal">
            <Button Content="Save" Click="OnSaveClick" Margin="0,0,3,0" Width="50" RenderTransformOrigin="0.502,0.5"/>
            <Button Content="Restore" Click="OnRestoreClick" Width="50"/>
        </StackPanel>
        
        
        <custom:RichTextBoxExt x:Name="SampleRichText" Grid.Row="1" IsDocumentEnabled="True">
        </custom:RichTextBoxExt>
        
    </Grid>
</Window>
